<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <script>
        // ES5 语法对多个变量赋值
        let x = 1;
        let y = 2;
        let z = 3;
        // 在ES6的语法中允许这样
        let [x1, y1, z1] = [1, 2, 3];
        console.log(x, x1);// 1,1
        console.log(y, y1);// 2,2
        console.log(z, z1);// 3,3
    </script>
</head>
<body></body>
</html>